BYTE code tHDCP_KEY_BKSV[] =
{
    0xB7, 0x28, 0xA9, 0x51, 0xD6,
};

BYTE code tHDCP_KEY_TABLE[] =
{
    0x3a, 0x21, 0x17, 0x06, 0x72, 0x60, 0x3b, 0x6e,     // Key0
    0x0c, 0x58, 0x16, 0x4c, 0x5b, 0x3b, 0x68, 0x4b,     // Key1
    0x2f, 0x7b, 0x5d, 0x64, 0x10, 0x60, 0x71, 0x41,     // Key2
    0x6d, 0x4a, 0x1f, 0x48, 0x35, 0x78, 0x4b, 0x6a,     // Key3
    0x4b, 0x3c, 0x69, 0x2a, 0x20, 0x38, 0x55, 0x1c,     // Key4
    0x10, 0x16, 0x09, 0x5d, 0x0d, 0x07, 0x6e, 0x7a,     // Key5
    0x75, 0x1a, 0x35, 0x55, 0x7b, 0x5c, 0x26, 0x0d,     // Key6
    0x2c, 0x49, 0x1a, 0x1b, 0x3e, 0x55, 0x1f, 0x40,     // Key7
    0x11, 0x24, 0x4b, 0x4a, 0x5d, 0x56, 0x4b, 0x5c,     // Key8
    0x62, 0x70, 0x0b, 0x10, 0x52, 0x3f, 0x2b, 0x4d,     // Key9
    0x5d, 0x06, 0x78, 0x16, 0x72, 0x70, 0x2e, 0x06,     // Key10
    0x3a, 0x2c, 0x60, 0x06, 0x12, 0x6c, 0x32, 0x55,     // Key11
    0x54, 0x62, 0x38, 0x05, 0x13, 0x42, 0x49, 0x40,     // Key12
    0x61, 0x54, 0x28, 0x0c, 0x4a, 0x21, 0x7c, 0x32,     // Key13
    0x4b, 0x74, 0x04, 0x5d, 0x10, 0x69, 0x72, 0x62,     // Key14
    0x5d, 0x77, 0x55, 0x0d, 0x19, 0x79, 0x59, 0x43,     // Key15
    0x0a, 0x5f, 0x0d, 0x50, 0x58, 0x4f, 0x48, 0x42,     // Key16
    0x14, 0x64, 0x65, 0x54, 0x2f, 0x7a, 0x75, 0x04,     // Key17
    0x48, 0x35, 0x00, 0x59, 0x16, 0x0e, 0x2f, 0x4b,     // Key18
    0x4a, 0x7b, 0x04, 0x6c, 0x1a, 0x6d, 0x4b, 0x44,     // Key19
    0x50, 0x11, 0x63, 0x63, 0x47, 0x6e, 0x1a, 0x6b,     // Key20
    0x0f, 0x4c, 0x3e, 0x17, 0x66, 0x0d, 0x3b, 0x3a,     // Key21
    0x47, 0x62, 0x5a, 0x25, 0x3d, 0x0e, 0x1d, 0x55,     // Key22
    0x42, 0x0f, 0x43, 0x60, 0x3e, 0x7e, 0x56, 0x3c,     // Key23
    0x44, 0x4a, 0x44, 0x3b, 0x69, 0x17, 0x1b, 0x47,     // Key24
    0x19, 0x77, 0x2c, 0x7d, 0x72, 0x03, 0x66, 0x53,     // Key25
    0x7f, 0x5a, 0x03, 0x26, 0x17, 0x01, 0x28, 0x5e,     // Key26
    0x09, 0x1d, 0x43, 0x13, 0x35, 0x26, 0x4c, 0x15,     // Key27
    0x1e, 0x7f, 0x4d, 0x6b, 0x4d, 0x52, 0x46, 0x00,     // Key28
    0x3c, 0x38, 0x5c, 0x64, 0x6f, 0x72, 0x78, 0x11,     // Key29
    0x30, 0x65, 0x47, 0x70, 0x7a, 0x3c, 0x38, 0x69,     // Key30
    0x78, 0x26, 0x35, 0x09, 0x37, 0x14, 0x34, 0x57,     // Key31
    0x73, 0x4d, 0x28, 0x28, 0x7e, 0x5a, 0x28, 0x09,     // Key32
    0x08, 0x28, 0x6c, 0x69, 0x42, 0x43, 0x31, 0x15,     // Key33
    0x54, 0x23, 0x60, 0x1c, 0x03, 0x48, 0x7d, 0x48,     // Key34
    0x25, 0x5f, 0x2b, 0x04, 0x6c, 0x42, 0x22, 0x66,     // Key35
    0x11, 0x2a, 0x1a, 0x14, 0x29, 0x68, 0x59, 0x73,     // Key36
    0x76, 0x61, 0x16, 0x00, 0x3e, 0x11, 0x31, 0x20,     // Key37
    0x10, 0x59, 0x13, 0x44, 0x54, 0x32, 0x4f, 0x0e,     // Key38
    0x76, 0x47, 0x13, 0x6f, 0x7e, 0x24, 0x5a, 0x6a,     // Key39
};

#if(_HDCP_2_2_SUPPORT == _ON)

BYTE code tHDCP2_Certrx[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
#if(_HDCP_2_2_TX_RSA3072_MODE == _ON)
    // TX : Modulus n (Errate Key)
    0xA2, 0xC7, 0x55, 0x57, 0x54, 0xCB, 0xAA, 0xA7, // Key 47 (MSB)
    0x7A, 0x27, 0x92, 0xC3, 0x1A, 0x6D, 0xC2, 0x31, // Key 46
    0xCF, 0x12, 0xC2, 0x24, 0xBF, 0x89, 0x72, 0x46, // Key 45
    0xA4, 0x8D, 0x20, 0x83, 0xB2, 0xDD, 0x04, 0xDA, // Key 44
    0x7E, 0x01, 0xA9, 0x19, 0xEF, 0x7E, 0x8C, 0x47, // Key 43
    0x54, 0xC8, 0x59, 0x72, 0x5C, 0x89, 0x60, 0x62, // Key 42
    0x9F, 0x39, 0xD0, 0xE4, 0x80, 0xCA, 0xA8, 0xD4, // Key 41
    0x1E, 0x91, 0xE3, 0x0E, 0x2C, 0x77, 0x55, 0x6D, // Key 40
    0x58, 0xA8, 0x9E, 0x3E, 0xF2, 0xDA, 0x78, 0x3E, // Key 39
    0xBA, 0xD1, 0x05, 0x37, 0x07, 0xF2, 0x88, 0x74, // Key 38
    0x0C, 0xBC, 0xFB, 0x68, 0xA4, 0x7A, 0x27, 0xAD, // Key 37
    0x63, 0xA5, 0x1F, 0x67, 0xF1, 0x45, 0x85, 0x16, // Key 36
    0x49, 0x8A, 0xE6, 0x34, 0x1C, 0x6E, 0x80, 0xF5, // Key 35
    0xFF, 0x13, 0x72, 0x85, 0x5D, 0xC1, 0xDE, 0x5F, // Key 34
    0x01, 0x86, 0x55, 0x86, 0x71, 0xE8, 0x10, 0x33, // Key 33
    0x14, 0x70, 0x2A, 0x5F, 0x15, 0x7B, 0x5C, 0x65, // Key 32
    0x3C, 0x46, 0x3A, 0x17, 0x79, 0xED, 0x54, 0x6A, // Key 31
    0xA6, 0xC9, 0xDF, 0xEB, 0x2A, 0x81, 0x2A, 0x80, // Key 30
    0x2A, 0x46, 0xA2, 0x06, 0xDB, 0xFD, 0xD5, 0xF3, // Key 29
    0xCF, 0x74, 0xBB, 0x66, 0x56, 0x48, 0xD7, 0x7C, // Key 28
    0x6A, 0x03, 0x14, 0x1E, 0x55, 0x56, 0xE4, 0xB6, // Key 27
    0xFA, 0x38, 0x2B, 0x5D, 0xFB, 0x87, 0x9F, 0x9E, // Key 26
    0x78, 0x21, 0x87, 0xC0, 0x0C, 0x63, 0x3E, 0x8D, // Key 25
    0x0F, 0xE2, 0xA7, 0x19, 0x10, 0x9B, 0x15, 0xE1, // Key 24
    0x11, 0x87, 0x49, 0x33, 0x49, 0xB8, 0x66, 0x32, // Key 23
    0x28, 0x7C, 0x87, 0xF5, 0xD2, 0x2E, 0xC5, 0xF3, // Key 22
    0x66, 0x2F, 0x79, 0xEF, 0x40, 0x5A, 0xD4, 0x14, // Key 21
    0x85, 0x74, 0x5F, 0x06, 0x43, 0x50, 0xCD, 0xDE, // Key 20
    0x84, 0xE7, 0x3C, 0x7D, 0x8E, 0x8A, 0x49, 0xCC, // Key 19
    0x5A, 0xCF, 0x73, 0xA1, 0x8A, 0x13, 0xFF, 0x37, // Key 18
    0x13, 0x3D, 0xAD, 0x57, 0xD8, 0x51, 0x22, 0xD6, // Key 17
    0x32, 0x1F, 0xC0, 0x68, 0x4C, 0xA0, 0x5B, 0xDD, // Key 16
    0x5F, 0x78, 0xC8, 0x9F, 0x2D, 0x3A, 0xA2, 0xB8, // Key 15
    0x1E, 0x4A, 0xE4, 0x08, 0x55, 0x64, 0x05, 0xE6, // Key 14
    0x94, 0xFB, 0xEB, 0x03, 0x6A, 0x0A, 0xBE, 0x83, // Key 13
    0x18, 0x94, 0xD4, 0xB6, 0xC3, 0xF2, 0x58, 0x9C, // Key 12
    0x7A, 0x24, 0xDD, 0xD1, 0x3A, 0xB7, 0x3A, 0xB0, // Key 11
    0xBB, 0xE5, 0xD1, 0x28, 0xAB, 0xAD, 0x24, 0x54, // Key 10
    0x72, 0x0E, 0x76, 0xD2, 0x89, 0x32, 0xEA, 0x46, // Key 9
    0xD3, 0x78, 0xD0, 0xA9, 0x67, 0x78, 0xC1, 0x2D, // Key 8
    0x18, 0xB0, 0x33, 0xDE, 0xDB, 0x27, 0xCC, 0xB0, // Key 7
    0x7C, 0xC9, 0xA4, 0xBD, 0xDF, 0x2B, 0x64, 0x10, // Key 6
    0x32, 0x44, 0x06, 0x81, 0x21, 0xB3, 0xBA, 0xCF, // Key 5
    0x33, 0x85, 0x49, 0x1E, 0x86, 0x4C, 0xBD, 0xF2, // Key 4
    0x3D, 0x34, 0xEF, 0xD6, 0x23, 0x7A, 0x9F, 0x2C, // Key 3
    0xDA, 0x84, 0xF0, 0x83, 0x83, 0x71, 0x7D, 0xDA, // Key 2
    0x6E, 0x44, 0x96, 0xCD, 0x1D, 0x05, 0xDE, 0x30, // Key 1
    0xF6, 0x1E, 0x2F, 0x9C, 0x99, 0x9C, 0x60, 0x07, // Key 0  (LSB)
#else
    // RX : Certificate (Errate Key)
    0x74, 0x5b, 0xb8, 0xbd, 0x04, 0xaf, 0xb5, 0xc5, // Key 65 (MSB)
    0xc6, 0x7b, 0xc5, 0x3a, 0x34, 0x90, 0xa9, 0x54, // Key 64
    0xc0, 0x8f, 0xb7, 0xeb, 0xa1, 0x54, 0xd2, 0x4f, // Key 63
    0x22, 0xde, 0x83, 0xf5, 0x03, 0xa6, 0xc6, 0x68, // Key 62
    0x46, 0x9b, 0xc0, 0xb8, 0xc8, 0x6c, 0xdb, 0x26, // Key 61
    0xf9, 0x3c, 0x49, 0x2f, 0x02, 0xe1, 0x71, 0xdf, // Key 60
    0x4e, 0xf3, 0x0e, 0xc8, 0xbf, 0x22, 0x9d, 0x04, // Key 59
    0xcf, 0xbf, 0xa9, 0x0d, 0xff, 0x68, 0xab, 0x05, // Key 58
    0x6f, 0x1f, 0x12, 0x8a, 0x68, 0x62, 0xeb, 0xfe, // Key 57
    0xc9, 0xea, 0x9f, 0xa7, 0xfb, 0x8c, 0xba, 0xb1, // Key 56
    0xbd, 0x65, 0xac, 0x35, 0x9c, 0xa0, 0x33, 0xb1, // Key 55
    0xdd, 0xa6, 0x05, 0x36, 0xaf, 0x00, 0xa2, 0x7f, // Key 54
    0xbc, 0x07, 0xb2, 0xdd, 0xb5, 0xcc, 0x57, 0x5c, // Key 53
    0xdc, 0xc0, 0x95, 0x50, 0xe5, 0xff, 0x1f, 0x20, // Key 52
    0xdb, 0x59, 0x46, 0xfa, 0x47, 0xc4, 0xed, 0x12, // Key 51
    0x2e, 0x9e, 0x22, 0xbd, 0x95, 0xa9, 0x85, 0x59, // Key 50
    0xa1, 0x59, 0x3c, 0xc7, 0x83, 0x01, 0x00, 0x01, // Key 49
    0x10, 0x00, 0x0b, 0xa3, 0x73, 0x77, 0xdd, 0x03, // Key 48
    0x18, 0x03, 0x8a, 0x91, 0x63, 0x29, 0x1e, 0xa2, // Key 47
    0x95, 0x74, 0x42, 0x90, 0x78, 0xd0, 0x67, 0x25, // Key 46
    0xb6, 0x32, 0x2f, 0xcc, 0x23, 0x2b, 0xad, 0x21, // Key 45
    0x39, 0x3d, 0x14, 0xba, 0x37, 0xa3, 0x65, 0x14, // Key 44
    0x6b, 0x9c, 0xcf, 0x61, 0x20, 0x44, 0xa1, 0x07, // Key 43
    0xbb, 0xcf, 0xc3, 0x4e, 0x95, 0x5b, 0x10, 0xcf, // Key 42
    0xc7, 0x6f, 0xf1, 0xc3, 0x53, 0x7c, 0x63, 0xa1, // Key 41
    0x8c, 0xb2, 0xe8, 0xab, 0x2e, 0x96, 0x97, 0xc3, // Key 40
    0x83, 0x99, 0x70, 0xd3, 0xdc, 0x21, 0x41, 0xf6, // Key 39
    0x0a, 0xd1, 0x1a, 0xee, 0xf4, 0xcc, 0xeb, 0xfb, // Key 38
    0xa6, 0xaa, 0xb6, 0x9a, 0xaf, 0x1d, 0x16, 0x5e, // Key 37
    0xe2, 0x83, 0xa0, 0x4a, 0x41, 0xf6, 0x7b, 0x07, // Key 36
    0xbf, 0x47, 0x85, 0x28, 0x6c, 0xa0, 0x77, 0xa6, // Key 35
    0xa3, 0xd7, 0x85, 0xa5, 0xc4, 0xa7, 0xe7, 0x6e, // Key 34
    0xb5, 0x1f, 0x40, 0x72, 0x97, 0xfe, 0xc4, 0x81, // Key 33
    0x23, 0xa0, 0xc2, 0x90, 0xb3, 0x49, 0x24, 0xf5, // Key 32
    0xb7, 0x90, 0x2c, 0xbf, 0xfe, 0x04, 0x2e, 0x00, // Key 31
    0xa9, 0x5f, 0x86, 0x04, 0xca, 0xc5, 0x3a, 0xcc, // Key 30
    0x26, 0xd9, 0x39, 0x7e, 0xa9, 0x2d, 0x28, 0x6d, // Key 29
    0xc0, 0xcc, 0x6e, 0x81, 0x9f, 0xb9, 0xb7, 0x11, // Key 28
    0x33, 0x32, 0x23, 0x47, 0x98, 0x43, 0x0d, 0xa5, // Key 27
    0x1c, 0x59, 0xf3, 0xcd, 0xd2, 0x4a, 0xb7, 0x3e, // Key 26
    0x69, 0xd9, 0x21, 0x53, 0x9a, 0xf2, 0x6e, 0x77, // Key 25
    0x62, 0xae, 0x50, 0xda, 0x85, 0xc6, 0xaa, 0xc4, // Key 24
    0xb5, 0x1c, 0xcd, 0xa8, 0xa5, 0xdd, 0x6e, 0x62, // Key 23
    0x73, 0xff, 0x5f, 0x7b, 0xd7, 0x3c, 0x17, 0xba, // Key 22
    0x47, 0x0c, 0x89, 0x0e, 0x62, 0x79, 0x43, 0x94, // Key 21
    0xaa, 0xa8, 0x47, 0xf4, 0x4c, 0x38, 0x89, 0xa8, // Key 20
    0x81, 0xad, 0x23, 0x13, 0x27, 0x0c, 0x17, 0xcf, // Key 19
    0x3d, 0x83, 0x84, 0x57, 0x36, 0xe7, 0x22, 0x26, // Key 18
    0x2e, 0x76, 0xfd, 0x56, 0x80, 0x83, 0xf6, 0x70, // Key 17
    0xd4, 0x5c, 0x91, 0x48, 0x84, 0x7b, 0x18, 0xdb, // Key 16
    0x0e, 0x15, 0x3b, 0x49, 0x26, 0x23, 0xe6, 0xa3, // Key 15
    0xe2, 0xc6, 0x3a, 0x23, 0x57, 0x66, 0xb0, 0x72, // Key 14
    0xb8, 0x12, 0x17, 0x4f, 0x86, 0xfe, 0x48, 0x0d, // Key 13
    0x53, 0xea, 0xfe, 0x31, 0x48, 0x7d, 0x86, 0xde, // Key 12
    0xeb, 0x82, 0x86, 0x1e, 0x62, 0x03, 0x98, 0x59, // Key 11
    0x00, 0x37, 0xeb, 0x61, 0xe9, 0xf9, 0x7a, 0x40, // Key 10
    0x78, 0x1c, 0xba, 0xbc, 0x0b, 0x88, 0xfb, 0xfd, // Key 9
    0x9d, 0xd5, 0x01, 0x11, 0x94, 0xe0, 0x35, 0xbe, // Key 8
    0x33, 0xe8, 0xe5, 0x36, 0xfb, 0x9c, 0x45, 0xcb, // Key 7
    0x75, 0xaf, 0xd6, 0x35, 0xff, 0x78, 0x92, 0x7f, // Key 6
    0xa1, 0x7c, 0xa8, 0xfc, 0xb7, 0xf7, 0xa8, 0x52, // Key 5
    0xa9, 0xc6, 0x84, 0x72, 0x3d, 0x1c, 0xc9, 0xdf, // Key 4
    0x35, 0xc6, 0xe6, 0x00, 0xe1, 0x48, 0x72, 0xce, // Key 3
    0x83, 0x1b, 0xcc, 0xf8, 0x33, 0x2d, 0x4f, 0x98, // Key 2
    0x75, 0x00, 0x3c, 0x41, 0xdf, 0x7a, 0xed, 0x38, // Key 1
    0x53, 0xb1,                                     // Key 0  (LSB)
#endif
#else
    // RX : Certificate (Customers Key)
    0x95, 0x83, 0x3f, 0xa4, 0x17, 0xda, 0x2f, 0x5e, // Key 65 (MSB)
    0xe4, 0x53, 0xe9, 0xc4, 0x1d, 0x72, 0x3c, 0xb8, // Key 64
    0x3c, 0xc7, 0x7c, 0xf4, 0x2c, 0x16, 0xb5, 0x49, // Key 63
    0xb6, 0x4e, 0x5a, 0xc7, 0xd2, 0xef, 0xb8, 0xd4, // Key 62
    0x69, 0xa0, 0x49, 0xad, 0x63, 0xb6, 0x5d, 0x27, // Key 61
    0x4b, 0x1a, 0x91, 0x6b, 0xb6, 0x46, 0x3c, 0xda, // Key 60
    0xfd, 0xb3, 0x58, 0x06, 0x17, 0x20, 0x44, 0x1d, // Key 59
    0x45, 0x5f, 0x41, 0xbe, 0x51, 0xef, 0xb0, 0x7f, // Key 58
    0x6b, 0x7f, 0xd2, 0x80, 0xc1, 0x8b, 0xdc, 0x92, // Key 57
    0x92, 0x14, 0x0c, 0x17, 0xc0, 0x6a, 0x4f, 0xdb, // Key 56
    0x15, 0x90, 0x11, 0xa2, 0x36, 0xbf, 0x4f, 0xa3, // Key 55
    0xa6, 0x34, 0x42, 0xcb, 0xf0, 0x4a, 0xb6, 0x14, // Key 54
    0x7d, 0x30, 0x1c, 0xa0, 0xd6, 0x61, 0x2e, 0xcc, // Key 53
    0xe3, 0x34, 0x45, 0x80, 0x29, 0x4d, 0xdb, 0xfe, // Key 52
    0x7d, 0x03, 0xad, 0x7a, 0xbf, 0x10, 0x12, 0xab, // Key 51
    0x4a, 0x67, 0x4d, 0x5e, 0xf4, 0x19, 0x75, 0x52, // Key 50
    0x55, 0xda, 0x3d, 0xe8, 0x7b, 0x01, 0x00, 0x01, // Key 49
    0x10, 0x00, 0x18, 0xca, 0x99, 0x58, 0x86, 0x45, // Key 48
    0xe2, 0x0b, 0x29, 0x8b, 0x75, 0x5b, 0xf4, 0x1d, // Key 47
    0x4e, 0x1e, 0xc3, 0x8d, 0x75, 0xc2, 0x1c, 0x65, // Key 46
    0x89, 0x3f, 0xa6, 0x55, 0x37, 0xcc, 0x9e, 0xe4, // Key 45
    0x07, 0x22, 0x5c, 0x98, 0xf5, 0x16, 0x98, 0x6b, // Key 44
    0xbf, 0x9e, 0x80, 0x19, 0x7d, 0x6d, 0x45, 0x9d, // Key 43
    0x8d, 0xf0, 0x6c, 0xe1, 0x72, 0x4e, 0xda, 0x4e, // Key 42
    0x2e, 0xda, 0xd5, 0xf9, 0x3a, 0x60, 0x28, 0x06, // Key 41
    0x1f, 0x29, 0x5f, 0x7d, 0x29, 0xc6, 0xf4, 0x16, // Key 40
    0xc9, 0x18, 0x27, 0x64, 0x2f, 0x42, 0xc1, 0xf1, // Key 39
    0xaa, 0x4f, 0xb5, 0xd4, 0xfb, 0x06, 0xe4, 0x9f, // Key 38
    0x82, 0x84, 0x3c, 0xfe, 0xfc, 0xc6, 0x1d, 0x02, // Key 37
    0x6e, 0x3a, 0x04, 0x9f, 0x2d, 0xc1, 0x3e, 0x55, // Key 36
    0xd7, 0x7c, 0xbe, 0x28, 0x24, 0x24, 0xee, 0x78, // Key 35
    0xf1, 0x10, 0xe5, 0xf2, 0xe8, 0x98, 0x0f, 0xa3, // Key 34
    0x72, 0x66, 0x17, 0x98, 0xf3, 0x52, 0xb9, 0x95, // Key 33
    0x81, 0x5c, 0xf4, 0xbc, 0x6d, 0xa8, 0x76, 0x5e, // Key 32
    0x65, 0x5b, 0xc1, 0x63, 0x1b, 0x9d, 0xbe, 0xcc, // Key 31
    0xef, 0xcb, 0x68, 0xc0, 0x4a, 0x1e, 0xd4, 0x42, // Key 30
    0xdd, 0xf1, 0x4f, 0x1b, 0xe6, 0xa4, 0x28, 0x84, // Key 29
    0x1e, 0x25, 0x0d, 0x0a, 0xaf, 0x23, 0x3b, 0x3d, // Key 28
    0x13, 0x5b, 0xfe, 0x83, 0xdf, 0xbd, 0xbc, 0x74, // Key 27
    0xc5, 0xfd, 0xf8, 0x38, 0x3e, 0x2f, 0x53, 0x3a, // Key 26
    0xd4, 0xf1, 0x9b, 0x35, 0xba, 0x03, 0x78, 0x42, // Key 25
    0xbf, 0x58, 0xc2, 0xb4, 0x0a, 0x9f, 0x0a, 0xce, // Key 24
    0x0f, 0x04, 0xff, 0xb5, 0xa2, 0x7f, 0x50, 0x11, // Key 23
    0x01, 0x11, 0x33, 0x06, 0xd9, 0x9a, 0xdf, 0x7c, // Key 22
    0x3e, 0x55, 0x94, 0xe3, 0xb2, 0xc6, 0x4a, 0x1a, // Key 21
    0xdb, 0xe1, 0x3e, 0xa7, 0xd7, 0x9e, 0x6f, 0x76, // Key 20
    0x1b, 0x3b, 0x51, 0x33, 0xee, 0x83, 0xe3, 0x3e, // Key 19
    0xf1, 0xde, 0xf1, 0x07, 0x8b, 0xdf, 0x74, 0xb5, // Key 18
    0xd4, 0xf4, 0xd8, 0xaa, 0x29, 0xf4, 0xbe, 0xb2, // Key 17
    0xe3, 0xd8, 0xc2, 0x0a, 0xbe, 0x4d, 0xa4, 0xe7, // Key 16
    0xd8, 0x6e, 0x17, 0x7f, 0x95, 0x1b, 0x75, 0xf5, // Key 15
    0xd9, 0x15, 0x7a, 0x80, 0xc6, 0x52, 0x04, 0x52, // Key 14
    0x67, 0x56, 0xa9, 0x5b, 0xb1, 0xb6, 0x16, 0x89, // Key 13
    0x3b, 0x45, 0x6e, 0x83, 0xb0, 0x3a, 0x72, 0x6e, // Key 12
    0xef, 0x0c, 0x1b, 0x20, 0xce, 0x9c, 0x26, 0xc8, // Key 11
    0x2e, 0xd2, 0xa4, 0xe9, 0x42, 0x55, 0x63, 0x53, // Key 10
    0x22, 0x9d, 0x93, 0x59, 0x12, 0x92, 0x22, 0x4b, // Key 9
    0xea, 0x08, 0xe0, 0x93, 0x1f, 0xd1, 0x16, 0x30, // Key 8
    0xa5, 0xfb, 0x19, 0x39, 0x5f, 0x26, 0x97, 0x77, // Key 7
    0xa6, 0x40, 0x43, 0x8d, 0x0c, 0xee, 0xfe, 0x0d, // Key 6
    0xc9, 0x19, 0xb8, 0x65, 0x6c, 0x9e, 0xe9, 0x94, // Key 5
    0xf0, 0x05, 0x8b, 0x6e, 0xb7, 0x17, 0xa5, 0xa5, // Key 4
    0x2d, 0x63, 0xa5, 0xc2, 0x76, 0x62, 0x06, 0x1e, // Key 3
    0x10, 0x5e, 0xcd, 0x57, 0xf2, 0xc0, 0xbf, 0x33, // Key 2
    0xab, 0x63, 0x65, 0xa3, 0x31, 0xad, 0xb5, 0x2a, // Key 1
    0x25, 0xea,                                     // Key 0  (LSB)
#endif
};

BYTE code tHDCP2_KPriv[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
    // RX : Private Key (Errate Key)
    0xec, 0xbe, 0xe5, 0x5b, 0x9e, 0x7a, 0x50, 0x8a, // Key 39 (MSB)
    0x96, 0x80, 0xc8, 0xdb, 0xb0, 0xed, 0x44, 0xf2, // Key 38
    0xba, 0x1d, 0x5d, 0x80, 0xc1, 0xc8, 0xb3, 0xc2, // Key 37
    0x74, 0xde, 0xee, 0x28, 0xec, 0xdc, 0x78, 0xc8, // Key 36
    0x67, 0x53, 0x07, 0xf2, 0xf8, 0x75, 0x9c, 0x4c, // Key 35
    0xa5, 0x6c, 0x48, 0x94, 0xc8, 0xeb, 0xad, 0xd7, // Key 34
    0x7d, 0xd2, 0xea, 0xdf, 0x74, 0x20, 0x62, 0xc9, // Key 33
    0x81, 0xa8, 0x3c, 0x36, 0xb9, 0xea, 0x40, 0xfd, // Key 32
    0xbe, 0x00, 0x19, 0x76, 0xc6, 0xb4, 0xba, 0x19, // Key 31
    0xd4, 0x69, 0xfa, 0x4d, 0xe2, 0xf8, 0x30, 0x27, // Key 30
    0x36, 0x2b, 0x4c, 0xc4, 0x34, 0xab, 0xd3, 0xd9, // Key 29
    0x8c, 0xd6, 0xb8, 0x0d, 0x37, 0x5e, 0x59, 0x4b, // Key 28
    0x76, 0x70, 0x68, 0x2b, 0x1f, 0x4c, 0x3d, 0x47, // Key 27
    0x5f, 0xa5, 0xb1, 0xcd, 0x74, 0x56, 0x88, 0xfe, // Key 26
    0x7c, 0xf8, 0x3b, 0x30, 0x6f, 0xfd, 0xc3, 0xed, // Key 25
    0x87, 0x3c, 0xa1, 0x53, 0x84, 0xc3, 0xd2, 0x7f, // Key 24
    0x60, 0x71, 0x9b, 0xe9, 0xe8, 0xf3, 0x97, 0x1f, // Key 23
    0xfe, 0x13, 0xd4, 0xbf, 0x7a, 0xa2, 0x0d, 0xf6, // Key 22
    0x7b, 0xcf, 0x3e, 0xaa, 0x17, 0x47, 0x75, 0xc3, // Key 21
    0x7f, 0xec, 0xd9, 0x44, 0x9e, 0xc9, 0x6a, 0x02, // Key 20
    0xe9, 0xe4, 0xaf, 0x56, 0x51, 0xd5, 0x47, 0xa9, // Key 19
    0x09, 0xb2, 0xc5, 0x16, 0xa7, 0x8b, 0x2b, 0x34, // Key 18
    0xa0, 0x33, 0x6e, 0x2f, 0x3d, 0x95, 0x7b, 0xe8, // Key 17
    0xef, 0x02, 0xe4, 0x14, 0xbf, 0x44, 0x28, 0xd9, // Key 16
    0x10, 0x0e, 0x2e, 0x18, 0xad, 0x5d, 0xe4, 0x43, // Key 15
    0xfe, 0x81, 0x1e, 0x17, 0xaa, 0xd0, 0x52, 0x31, // Key 14
    0x5e, 0x10, 0x76, 0xa2, 0x35, 0xd9, 0x37, 0x43, // Key 13
    0xb0, 0xf5, 0x0c, 0x04, 0x81, 0xe3, 0x45, 0x24, // Key 12
    0x6d, 0x53, 0xbe, 0x59, 0xb6, 0x81, 0x58, 0xc4, // Key 11
    0x49, 0x3e, 0xd5, 0x31, 0x89, 0x5d, 0x2e, 0xa2, // Key 10
    0x62, 0xa9, 0x0f, 0x47, 0x5e, 0x8f, 0x51, 0x19, // Key 9
    0x27, 0x4e, 0x66, 0x4b, 0x8a, 0x72, 0x89, 0xbd, // Key 8
    0x3e, 0x53, 0x0a, 0xf4, 0x8e, 0x75, 0xe1, 0x52, // Key 7
    0xc6, 0x24, 0xe9, 0xf7, 0xbb, 0xac, 0x3f, 0x22, // Key 6
    0x5f, 0xe8, 0xe0, 0x79, 0x35, 0xff, 0x91, 0xee, // Key 5
    0x22, 0x56, 0xd2, 0x00, 0x68, 0x32, 0xc4, 0xe1, // Key 4
    0x5f, 0xff, 0xf8, 0xb1, 0x1d, 0xee, 0xdc, 0x57, // Key 3
    0x81, 0xd1, 0xab, 0x8b, 0x37, 0x22, 0xe3, 0x9f, // Key 2
    0xd0, 0xa1, 0xc1, 0xce, 0x1d, 0xd0, 0x24, 0x23, // Key 1
    0xa0, 0x0e, 0xf7, 0xa6, 0xdb, 0xa3, 0xea, 0xd3, // Key 0  (LSB)
#else
    // RX : Private Key (Customers Key)
    0xf5, 0x84, 0x9b, 0xa6, 0xf5, 0x9d, 0x04, 0x79, // Key 39 (MSB)
    0x99, 0xbe, 0x0e, 0x39, 0x08, 0x1f, 0xb3, 0x1a, // Key 38
    0xf6, 0x44, 0x14, 0xb8, 0xef, 0xfc, 0x8c, 0xaf, // Key 37
    0xca, 0x49, 0x82, 0x77, 0x3b, 0xda, 0x6d, 0xb1, // Key 36
    0xf3, 0x20, 0xea, 0x96, 0x1b, 0x44, 0x50, 0x3f, // Key 35
    0x57, 0x13, 0xe5, 0x88, 0xf3, 0x63, 0x08, 0x07, // Key 34
    0x81, 0x58, 0x0c, 0xff, 0x4e, 0x2a, 0xb5, 0x74, // Key 33
    0x9c, 0xcc, 0xb4, 0x5c, 0xdc, 0x50, 0xd8, 0x63, // Key 32
    0xe3, 0x80, 0x06, 0xd9, 0x3e, 0x22, 0x28, 0xb7, // Key 31
    0x2e, 0x05, 0x0e, 0x47, 0xd0, 0xdf, 0xda, 0xb4, // Key 30
    0x45, 0x6e, 0x12, 0x81, 0xfc, 0x89, 0x9d, 0x2c, // Key 29
    0x7d, 0xc0, 0xb0, 0x2a, 0x49, 0xbb, 0x0b, 0x46, // Key 28
    0x64, 0x50, 0x3d, 0xe8, 0xf4, 0xc3, 0x8b, 0xb7, // Key 27
    0x7f, 0xdd, 0x45, 0x9b, 0x0d, 0x69, 0xc1, 0xd0, // Key 26
    0x73, 0xdc, 0x75, 0x2e, 0x79, 0x57, 0xe1, 0x83, // Key 25
    0x93, 0x85, 0xf6, 0x10, 0x6c, 0x8d, 0x8f, 0x09, // Key 24
    0x88, 0x3d, 0x68, 0xde, 0x52, 0x27, 0x2a, 0x87, // Key 23
    0x8b, 0xdf, 0xe2, 0x26, 0x95, 0xb2, 0x79, 0x81, // Key 22
    0xf9, 0xac, 0x37, 0xcf, 0x94, 0x24, 0x91, 0xb1, // Key 21
    0x2e, 0xd0, 0x71, 0xdc, 0x56, 0x53, 0x54, 0x51, // Key 20
    0xcd, 0xf7, 0xb3, 0x15, 0x4e, 0xd6, 0x2e, 0xad, // Key 19
    0xa7, 0x55, 0x7c, 0x26, 0xed, 0xe0, 0x43, 0x61, // Key 18
    0x5e, 0xce, 0x0c, 0x90, 0x53, 0xc0, 0xf1, 0x66, // Key 17
    0x5f, 0x68, 0x5c, 0xa1, 0xb7, 0x04, 0x09, 0xbf, // Key 16
    0x97, 0x14, 0x34, 0x78, 0x1c, 0x7d, 0x0e, 0xd0, // Key 15
    0xe7, 0x2c, 0xd0, 0x58, 0xfc, 0xeb, 0x4c, 0x10, // Key 14
    0x1f, 0x73, 0x83, 0xb2, 0xf3, 0x04, 0x68, 0x6e, // Key 13
    0x5d, 0x6c, 0x93, 0x10, 0xe2, 0x39, 0xe6, 0xb8, // Key 12
    0xee, 0x71, 0x23, 0x4c, 0x0b, 0x0f, 0xb9, 0x3f, // Key 11
    0x39, 0x18, 0xb6, 0xda, 0xcb, 0x43, 0x8a, 0x44, // Key 10
    0x66, 0x4c, 0xe7, 0x3c, 0xdf, 0xb4, 0x6e, 0xbc, // Key 9
    0xb4, 0x41, 0x68, 0x31, 0x6c, 0x05, 0x6e, 0x11, // Key 8
    0xd4, 0xb6, 0xd1, 0x54, 0x80, 0x25, 0x44, 0x42, // Key 7
    0xe1, 0x3b, 0x46, 0xd2, 0x51, 0x5a, 0x58, 0x2a, // Key 6
    0x58, 0x0a, 0xb3, 0x28, 0xa6, 0xfc, 0x50, 0x68, // Key 5
    0xef, 0x8d, 0x06, 0xd9, 0x0e, 0xf9, 0xba, 0x53, // Key 4
    0x62, 0x72, 0xb3, 0x9d, 0x2e, 0x90, 0xff, 0x27, // Key 3
    0x6b, 0x65, 0x8a, 0x7e, 0x1e, 0xba, 0x57, 0xec, // Key 2
    0x67, 0xcd, 0x02, 0xa6, 0x75, 0x1f, 0x5c, 0x05, // Key 1
    0x9f, 0x82, 0x2c, 0x60, 0xb5, 0xd4, 0x6f, 0x99, // Key 0  (LSB)
#endif
};

BYTE code tHDCP2_NPINV[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
#if(_HDCP_2_2_TX_RSA3072_MODE == _ON)
    // TX : NP_inv (Errate Key))
    0x96, 0xCE, 0xF2, 0x49,
#else
    // RX : NP_inv (Errate Key)
    0xe4, 0x7a, 0x00, 0xd5,
#endif
#else
    // RX : NP_inv (Customers Key))
    0x8F, 0x62, 0x49, 0x4D,
#endif
};

#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
BYTE code tHDCP2_KpubKm[] =
{
#if(_HDCP_2_2_TX_RSA3072_MODE == _ON)
    // RX : DCP LLC Signature (3072-bits)
    0x0b, 0xa3, 0x73, 0x77, 0xdd, 0x03, 0x18, 0x03, // Key 47 (MSB)
    0x8a, 0x91, 0x63, 0x29, 0x1e, 0xa2, 0x95, 0x74, // Key 46
    0x42, 0x90, 0x78, 0xd0, 0x67, 0x25, 0xb6, 0x32, // Key 45
    0x2f, 0xcc, 0x23, 0x2b, 0xad, 0x21, 0x39, 0x3d, // Key 44
    0x14, 0xba, 0x37, 0xa3, 0x65, 0x14, 0x6b, 0x9c, // Key 43
    0xcf, 0x61, 0x20, 0x44, 0xa1, 0x07, 0xbb, 0xcf, // Key 42
    0xc3, 0x4e, 0x95, 0x5b, 0x10, 0xcf, 0xc7, 0x6f, // Key 41
    0xf1, 0xc3, 0x53, 0x7c, 0x63, 0xa1, 0x8c, 0xb2, // Key 40
    0xe8, 0xab, 0x2e, 0x96, 0x97, 0xc3, 0x83, 0x99, // Key 39
    0x70, 0xd3, 0xdc, 0x21, 0x41, 0xf6, 0x0a, 0xd1, // Key 38
    0x1a, 0xee, 0xf4, 0xcc, 0xeb, 0xfb, 0xa6, 0xaa, // Key 37
    0xb6, 0x9a, 0xaf, 0x1d, 0x16, 0x5e, 0xe2, 0x83, // Key 36
    0xa0, 0x4a, 0x41, 0xf6, 0x7b, 0x07, 0xbf, 0x47, // Key 35
    0x85, 0x28, 0x6c, 0xa0, 0x77, 0xa6, 0xa3, 0xd7, // Key 34
    0x85, 0xa5, 0xc4, 0xa7, 0xe7, 0x6e, 0xb5, 0x1f, // Key 33
    0x40, 0x72, 0x97, 0xfe, 0xc4, 0x81, 0x23, 0xa0, // Key 32
    0xc2, 0x90, 0xb3, 0x49, 0x24, 0xf5, 0xb7, 0x90, // Key 31
    0x2c, 0xbf, 0xfe, 0x04, 0x2e, 0x00, 0xa9, 0x5f, // Key 30
    0x86, 0x04, 0xca, 0xc5, 0x3a, 0xcc, 0x26, 0xd9, // Key 29
    0x39, 0x7e, 0xa9, 0x2d, 0x28, 0x6d, 0xc0, 0xcc, // Key 28
    0x6e, 0x81, 0x9f, 0xb9, 0xb7, 0x11, 0x33, 0x32, // Key 27
    0x23, 0x47, 0x98, 0x43, 0x0d, 0xa5, 0x1c, 0x59, // Key 26
    0xf3, 0xcd, 0xd2, 0x4a, 0xb7, 0x3e, 0x69, 0xd9, // Key 25
    0x21, 0x53, 0x9a, 0xf2, 0x6e, 0x77, 0x62, 0xae, // Key 24
    0x50, 0xda, 0x85, 0xc6, 0xaa, 0xc4, 0xb5, 0x1c, // Key 23
    0xcd, 0xa8, 0xa5, 0xdd, 0x6e, 0x62, 0x73, 0xff, // Key 22
    0x5f, 0x7b, 0xd7, 0x3c, 0x17, 0xba, 0x47, 0x0c, // Key 21
    0x89, 0x0e, 0x62, 0x79, 0x43, 0x94, 0xaa, 0xa8, // Key 20
    0x47, 0xf4, 0x4c, 0x38, 0x89, 0xa8, 0x81, 0xad, // Key 19
    0x23, 0x13, 0x27, 0x0c, 0x17, 0xcf, 0x3d, 0x83, // Key 18
    0x84, 0x57, 0x36, 0xe7, 0x22, 0x26, 0x2e, 0x76, // Key 17
    0xfd, 0x56, 0x80, 0x83, 0xf6, 0x70, 0xd4, 0x5c, // Key 16
    0x91, 0x48, 0x84, 0x7b, 0x18, 0xdb, 0x0e, 0x15, // Key 15
    0x3b, 0x49, 0x26, 0x23, 0xe6, 0xa3, 0xe2, 0xc6, // Key 14
    0x3a, 0x23, 0x57, 0x66, 0xb0, 0x72, 0xb8, 0x12, // Key 13
    0x17, 0x4f, 0x86, 0xfe, 0x48, 0x0d, 0x53, 0xea, // Key 12
    0xfe, 0x31, 0x48, 0x7d, 0x86, 0xde, 0xeb, 0x82, // Key 11
    0x86, 0x1e, 0x62, 0x03, 0x98, 0x59, 0x00, 0x37, // Key 10
    0xeb, 0x61, 0xe9, 0xf9, 0x7a, 0x40, 0x78, 0x1c, // Key 9
    0xba, 0xbc, 0x0b, 0x88, 0xfb, 0xfd, 0x9d, 0xd5, // Key 8
    0x01, 0x11, 0x94, 0xe0, 0x35, 0xbe, 0x33, 0xe8, // Key 7
    0xe5, 0x36, 0xfb, 0x9c, 0x45, 0xcb, 0x75, 0xaf, // Key 6
    0xd6, 0x35, 0xff, 0x78, 0x92, 0x7f, 0xa1, 0x7c, // Key 5
    0xa8, 0xfc, 0xb7, 0xf7, 0xa8, 0x52, 0xa9, 0xc6, // Key 4
    0x84, 0x72, 0x3d, 0x1c, 0xc9, 0xdf, 0x35, 0xc6, // Key 3
    0xe6, 0x00, 0xe1, 0x48, 0x72, 0xce, 0x83, 0x1b, // Key 2
    0xcc, 0xf8, 0x33, 0x2d, 0x4f, 0x98, 0x75, 0x00, // Key 1
    0x3c, 0x41, 0xdf, 0x7a, 0xed, 0x38, 0x53, 0xb1, // Key 0  (LSB)
#else
    // RX : Ekpub(Km)
    0x9b, 0x9f, 0x80, 0x19, 0xad, 0x0e, 0xa2, 0xf0, // KpubKm Key 15 (MSB)
    0xdd, 0xa0, 0x29, 0x33, 0xd9, 0x6d, 0x1c, 0x77, // KpubKm Key 14
    0x31, 0x37, 0x57, 0xe0, 0xe5, 0xb2, 0xbd, 0xdd, // KpubKm Key 13
    0x36, 0x3e, 0x38, 0x4e, 0x7d, 0x40, 0x78, 0x66, // KpubKm Key 12
    0x97, 0x7a, 0x4c, 0xce, 0xc5, 0xc7, 0x5d, 0x01, // KpubKm Key 11
    0x57, 0x26, 0xcc, 0xa2, 0xf6, 0xde, 0x34, 0xdd, // KpubKm Key 10
    0x29, 0xbe, 0x5e, 0x31, 0xe8, 0xf1, 0x34, 0xe8, // KpubKm Key 9
    0x1a, 0x63, 0xa3, 0x6d, 0x46, 0xdc, 0x0a, 0x06, // KpubKm Key 8
    0x08, 0x99, 0x9d, 0xdb, 0x3c, 0xa2, 0x9c, 0x04, // KpubKm Key 7
    0xdd, 0x4e, 0xd9, 0x02, 0x7d, 0x20, 0x54, 0xec, // KpubKm Key 6
    0xca, 0x86, 0x42, 0x1b, 0x18, 0xda, 0x30, 0x9c, // KpubKm Key 5
    0xc4, 0xcb, 0xac, 0xb4, 0x54, 0xde, 0x84, 0x68, // KpubKm Key 4
    0x71, 0x53, 0x6d, 0x92, 0x17, 0xca, 0x08, 0x8a, // KpubKm Key 3
    0x7a, 0xf9, 0x98, 0x9a, 0xb6, 0x7b, 0x22, 0x92, // KpubKm Key 2
    0xac, 0x7d, 0x0d, 0x6b, 0xd6, 0x7f, 0x31, 0xab, // KpubKm Key 1
    0xf0, 0x10, 0xc5, 0x2a, 0x0f, 0x6d, 0x27, 0xa0, // KpubKm Key 0 (LSB)
#endif
};
#endif

BYTE code tHDCP2_DKey[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
#if(_HDCP_2_2_TX_RSA3072_MODE == _ON)
#if(_HDCP_2_2_TX_RRMODN_BY_HW == _ON)
    // TX : e-key (Errate Key : 0x03)
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 47 (MSB)
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 46
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 45
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 44
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 43
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 42
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 41
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 40
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 39
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 38
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 37
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 36
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 35
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 34
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 33
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 32
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 31
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 30
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 29
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 28
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 27
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 26
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 25
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 24
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 23
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 22
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 21
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 20
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 19
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 18
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 17
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 16
    0x07, 0x0B, 0x6B, 0x8A, 0x18, 0x0A, 0xEE, 0x41, // D Key 15
    0xDE, 0x41, 0x83, 0x25, 0x23, 0x8A, 0x12, 0x3F, // D Key 14
    0x35, 0x65, 0xB3, 0x07, 0x89, 0x48, 0x28, 0x5E, // D Key 13
    0x6C, 0x49, 0xA6, 0x48, 0x0E, 0x2A, 0x52, 0x1F, // D Key 12
    0x32, 0x9A, 0x7B, 0x80, 0x51, 0x08, 0x27, 0x81, // D Key 11
    0x0D, 0x7E, 0xFD, 0x1E, 0xA5, 0x1E, 0xFA, 0xC0, // D Key 10
    0xC3, 0x5F, 0xB6, 0xBA, 0xB1, 0xE6, 0xA9, 0x98, // D Key 9
    0x7D, 0x4B, 0xB4, 0xF2, 0x8A, 0x07, 0xD2, 0xC1, // D Key 8
    0x7D, 0x8E, 0xA5, 0x59, 0xA2, 0x56, 0xAF, 0x80, // D Key 7
    0xA7, 0x5F, 0x20, 0x23, 0x3F, 0x96, 0xDE, 0x8F, // D Key 6
    0x5A, 0xBF, 0x9C, 0x7B, 0x3A, 0x22, 0x3A, 0x22, // D Key 5
    0xD9, 0x42, 0x18, 0xF6, 0xDB, 0x65, 0x33, 0x76, // D Key 4
    0x1F, 0xC2, 0x5F, 0xBC, 0xBF, 0x56, 0x24, 0x16, // D Key 3
    0x7E, 0xDB, 0x27, 0x78, 0x8C, 0xFC, 0x64, 0x17, // D Key 2
    0xCD, 0x00, 0xD6, 0xB1, 0xF6, 0x71, 0x7A, 0xDC, // D Key 1
    0x30, 0xCB, 0xAA, 0xB8, 0x3E, 0x39, 0x68, 0xAA, // D Key 0 (LSB)
#else   // #if(_HDCP_2_2_TX_RRMODN_BY_HW == _OFF)
    // RX : e-key (Errate Key : 0x01, 0x00, 0x01)
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 47 (MSB)
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 46
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 45
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 44
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 43
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 42
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 41
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 40
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 39
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 38
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 37
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 36
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 35
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 34
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 33
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 32
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 31
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 30
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 29
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 28
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 27
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 26
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 25
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 24
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 23
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 22
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 21
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 20
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 19
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 18
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 17
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D Key 16
    0x07, 0x0B, 0x6B, 0x8A, 0x18, 0x0A, 0xEE, 0x41, // D Key 15
    0xDE, 0x41, 0x83, 0x25, 0x23, 0x8A, 0x12, 0x3F, // D Key 14
    0x35, 0x65, 0xB3, 0x07, 0x89, 0x48, 0x28, 0x5E, // D Key 13
    0x6C, 0x49, 0xA6, 0x48, 0x0E, 0x2A, 0x52, 0x1F, // D Key 12
    0x32, 0x9A, 0x7B, 0x80, 0x51, 0x08, 0x27, 0x81, // D Key 11
    0x0D, 0x7E, 0xFD, 0x1E, 0xA5, 0x1E, 0xFA, 0xC0, // D Key 10
    0xC3, 0x5F, 0xB6, 0xBA, 0xB1, 0xE6, 0xA9, 0x98, // D Key 9
    0x7D, 0x4B, 0xB4, 0xF2, 0x8A, 0x07, 0xD2, 0xC1, // D Key 8
    0x7D, 0x8E, 0xA5, 0x59, 0xA2, 0x56, 0xAF, 0x80, // D Key 7
    0xA7, 0x5F, 0x20, 0x23, 0x3F, 0x96, 0xDE, 0x8F, // D Key 6
    0x5A, 0xBF, 0x9C, 0x7B, 0x3A, 0x22, 0x3A, 0x22, // D Key 5
    0xD9, 0x42, 0x18, 0xF6, 0xDB, 0x65, 0x33, 0x76, // D Key 4
    0x1F, 0xC2, 0x5F, 0xBC, 0xBF, 0x56, 0x24, 0x16, // D Key 3
    0x7E, 0xDB, 0x27, 0x78, 0x8C, 0xFC, 0x64, 0x17, // D Key 2
    0xCD, 0x00, 0xD6, 0xB1, 0xF6, 0x71, 0x7A, 0xDC, // D Key 1
    0x30, 0xCB, 0xAA, 0xB8, 0x3E, 0x39, 0x64, 0xE9, // D Key 0 (LSB)
#endif
#else   // #if(_HDCP_2_2_TX_RSA3072_MODE == _OFF)
    // RX : Private d-key (Errate Key)
    0xAD, 0x3E, 0x35, 0xCB, 0x80, 0x58, 0xEA, 0x80, // D Key 15 (MSB)
    0xE6, 0x84, 0x9C, 0x7C, 0x4E, 0x15, 0x1D, 0x42, // D Key 14
    0x42, 0xAF, 0xF5, 0x6F, 0x1A, 0xF6, 0x8E, 0x4F, // D Key 13
    0x68, 0x3D, 0x9A, 0x74, 0xFF, 0xFB, 0xBF, 0xF1, // D Key 12
    0x23, 0xB6, 0x8D, 0x83, 0x56, 0x70, 0x0E, 0xB6, // D Key 11
    0x19, 0x58, 0x6A, 0xC6, 0xE0, 0xAF, 0xC9, 0x5B, // D Key 10
    0x58, 0xF0, 0xAF, 0x99, 0xAB, 0xFF, 0xC5, 0xE2, // D Key 9
    0xAB, 0xA7, 0x28, 0xA7, 0x73, 0x71, 0x4D, 0xA4, // D Key 8
    0x3E, 0x5C, 0x8E, 0xC7, 0x3F, 0xE9, 0x45, 0xDA, // D Key 7
    0x01, 0x3E, 0x43, 0x6D, 0x3B, 0xB9, 0xCE, 0x74, // D Key 6
    0x1D, 0x57, 0xCB, 0xC9, 0x41, 0xB5, 0xA5, 0x72, // D Key 5
    0x63, 0x29, 0xA3, 0x71, 0xB7, 0x26, 0x07, 0xEF, // D Key 4
    0x98, 0x5D, 0xA6, 0x40, 0x4C, 0x05, 0xC9, 0xDF, // D Key 3
    0x68, 0xA6, 0x9F, 0xD8, 0xAB, 0xE5, 0x46, 0x39, // D Key 2
    0x02, 0x4C, 0x79, 0xBA, 0xA6, 0xBD, 0x89, 0x90, // D Key 1
    0xC3, 0x79, 0x08, 0x1A, 0x74, 0xEB, 0xC7, 0x03, // D Key 0  (LSB)
#endif
#else   // #if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _OFF)
    // RX : Private d-key (Customers Key)
    0x47, 0xFD, 0x08, 0x4B, 0x9D, 0xF4, 0x61, 0x07, // D Key 15 (MSB)
    0x07, 0x70, 0x1E, 0x20, 0x50, 0x36, 0x1D, 0xAC, // D Key 14
    0x51, 0x9E, 0xC8, 0x43, 0x84, 0xDE, 0x7F, 0xAC, // D Key 13
    0xA9, 0x66, 0xDC, 0x4F, 0x23, 0x39, 0x30, 0xD2, // D Key 12
    0xE0, 0x13, 0x14, 0x5E, 0xCA, 0xB5, 0x5D, 0x1C, // D Key 11
    0x90, 0xAC, 0xEB, 0xA3, 0x59, 0xE3, 0xE9, 0xAB, // D Key 10
    0xE6, 0x10, 0xF4, 0x31, 0x6B, 0xCB, 0x76, 0x6D, // D Key 9
    0xAE, 0x3B, 0x44, 0x5D, 0xD2, 0x35, 0x49, 0x25, // D Key 8
    0x8A, 0x6F, 0x50, 0x2E, 0x6F, 0x4F, 0x56, 0x28, // D Key 7
    0x43, 0xCB, 0x35, 0x75, 0xBF, 0x89, 0x7E, 0x7A, // D Key 6
    0xFF, 0x96, 0xF5, 0xAC, 0x19, 0x75, 0xEF, 0xE4, // D Key 5
    0xE8, 0x3B, 0x75, 0x2F, 0xC9, 0xD5, 0x36, 0x4B, // D Key 4
    0xD9, 0xD4, 0xEE, 0x4C, 0x1C, 0x4B, 0x9F, 0x4C, // D Key 3
    0xB1, 0xF4, 0x46, 0xA0, 0x95, 0x28, 0x5A, 0xA0, // D Key 2
    0x0D, 0xB7, 0xF8, 0x45, 0x81, 0xAA, 0x35, 0x76, // D Key 1
    0x30, 0x68, 0x9B, 0x55, 0x02, 0x3A, 0x18, 0x7B, // D Key 0  (LSB)
#endif
};

BYTE code tHDCP2_RRMODN[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
#if(_HDCP_2_2_TX_RSA3072_MODE == _ON)
#if(_HDCP_2_2_TX_RRMODN_BY_HW == _ON)
    0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 47
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 46
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 45
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 44
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 43
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 42
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 41
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 40
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 39
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 38
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 37
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 36
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 35
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 34
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 33
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 32
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 31
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 30
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 29
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 28
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 27
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 26
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 25
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 24
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 23
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 22
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 21
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 20
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 19
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 18
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 17
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 16
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 15
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 14
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 13
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 12
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 11
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 10
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 9
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 8
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 7
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 6
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 5
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 4
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 3
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 2
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 1
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RRMODN Key 0
#else
    // TX : RR mod N
    0x95, 0xCC, 0x1B, 0x72, 0xDA, 0x8B, 0xC8, 0xF4, // RRMODN Key 47 (MSB)
    0xE4, 0x88, 0x48, 0x08, 0x40, 0xBD, 0x48, 0xFE, // RRMODN Key 46
    0xF4, 0xE3, 0xDB, 0x41, 0x63, 0x41, 0x66, 0x06, // RRMODN Key 45
    0xBF, 0xAA, 0xB9, 0xC4, 0x3B, 0x7A, 0x6E, 0xCC, // RRMODN Key 44
    0x3B, 0xAF, 0xBB, 0x41, 0x83, 0xBE, 0x1A, 0x6A, // RRMODN Key 43
    0x5D, 0xAF, 0x48, 0x52, 0x72, 0x11, 0xF8, 0xDC, // RRMODN Key 42
    0x7F, 0xF0, 0xBD, 0xA5, 0x72, 0x47, 0x55, 0xEB, // RRMODN Key 41
    0x43, 0x98, 0xCB, 0x07, 0x3A, 0xDD, 0xE3, 0x3B, // RRMODN Key 40
    0x40, 0xFD, 0x4C, 0x65, 0x86, 0x2B, 0x64, 0x97, // RRMODN Key 39
    0x86, 0xCB, 0xD0, 0x4A, 0x4A, 0x9E, 0x84, 0x73, // RRMODN Key 38
    0x85, 0xEB, 0xE2, 0x9C, 0xDD, 0x88, 0xF6, 0xF5, // RRMODN Key 37
    0xE7, 0xEC, 0x1D, 0xDC, 0xD9, 0x93, 0x04, 0xE2, // RRMODN Key 36
    0x74, 0x29, 0x8E, 0x5B, 0xF7, 0x1D, 0x51, 0x6F, // RRMODN Key 35
    0xEA, 0xC5, 0x47, 0x98, 0x41, 0xE4, 0x24, 0xB7, // RRMODN Key 34
    0x9B, 0xB7, 0x0C, 0x5F, 0x2F, 0x86, 0x09, 0x6B, // RRMODN Key 33
    0x19, 0xC9, 0xBB, 0x60, 0x8E, 0xFC, 0xB3, 0x8F, // RRMODN Key 32
    0xAF, 0x23, 0x45, 0xB5, 0x54, 0x06, 0x39, 0x9F, // RRMODN Key 31
    0x93, 0x35, 0x90, 0x32, 0x55, 0x1B, 0xF7, 0xCF, // RRMODN Key 30
    0xC7, 0xDD, 0xBE, 0xB5, 0xF8, 0x97, 0xF4, 0x5C, // RRMODN Key 29
    0x05, 0x64, 0x81, 0x6F, 0x0F, 0x15, 0x97, 0x23, // RRMODN Key 28
    0x5E, 0xD6, 0x6D, 0x22, 0xB3, 0x45, 0x6E, 0xFA, // RRMODN Key 27
    0x55, 0x5B, 0x4D, 0xBC, 0x48, 0xA9, 0xEE, 0x6B, // RRMODN Key 26
    0x93, 0xF4, 0x34, 0x4A, 0x4A, 0xF2, 0x9D, 0x09, // RRMODN Key 25
    0x90, 0x4B, 0xD8, 0xAC, 0x82, 0x9E, 0x5E, 0xFF, // RRMODN Key 24
    0xB1, 0xC8, 0x12, 0x9C, 0x46, 0xAC, 0x9E, 0xED, // RRMODN Key 23
    0x98, 0x08, 0xFE, 0x11, 0xCF, 0x38, 0x7A, 0xFA, // RRMODN Key 22
    0x58, 0x57, 0xED, 0x44, 0xF8, 0x5B, 0xA2, 0x51, // RRMODN Key 21
    0x69, 0x8F, 0x23, 0x13, 0x71, 0xE8, 0x68, 0xAC, // RRMODN Key 20
    0xF0, 0x8B, 0xEF, 0x69, 0xAA, 0x03, 0x82, 0x71, // RRMODN Key 19
    0x1A, 0xE8, 0x4A, 0xBA, 0x30, 0x81, 0x11, 0x51, // RRMODN Key 18
    0x5B, 0x8B, 0x55, 0xFD, 0xE1, 0xB7, 0xB7, 0x8A, // RRMODN Key 17
    0x5E, 0x2D, 0x22, 0x4D, 0x29, 0xA4, 0x94, 0x96, // RRMODN Key 16
    0xFE, 0x40, 0x9B, 0x26, 0x69, 0x69, 0x41, 0x32, // RRMODN Key 15
    0xC5, 0x64, 0xE5, 0x3F, 0x14, 0x3E, 0x53, 0x80, // RRMODN Key 14
    0x9F, 0x5A, 0x6D, 0x6C, 0xEF, 0x5F, 0x15, 0xAF, // RRMODN Key 13
    0xE9, 0x42, 0x49, 0xB5, 0x39, 0x1B, 0x83, 0xE0, // RRMODN Key 12
    0x14, 0x4B, 0xDE, 0xA3, 0xF2, 0xC0, 0xCC, 0x33, // RRMODN Key 11
    0x1F, 0xE6, 0xE3, 0x1F, 0xF8, 0xF5, 0x4C, 0x87, // RRMODN Key 10
    0x7B, 0x12, 0x8B, 0xE9, 0x4C, 0xA6, 0xEF, 0x2A, // RRMODN Key 9
    0xFD, 0x79, 0xB3, 0x6D, 0x8E, 0xA7, 0xF6, 0x07, // RRMODN Key 8
    0x3A, 0x33, 0x9B, 0x4B, 0x1A, 0x11, 0x3F, 0x6B, // RRMODN Key 7
    0x10, 0x66, 0x09, 0xC8, 0xE2, 0x12, 0x61, 0x9B, // RRMODN Key 6
    0x53, 0xB4, 0x3C, 0x1D, 0x8C, 0x16, 0x3E, 0xCB, // RRMODN Key 5
    0x7D, 0xD9, 0x1A, 0x3A, 0x0A, 0x0E, 0x82, 0xD2, // RRMODN Key 4
    0x3C, 0x63, 0xAD, 0x55, 0x8C, 0x24, 0x88, 0x6A, // RRMODN Key 3
    0x9A, 0x84, 0xFF, 0xBD, 0x35, 0x83, 0x90, 0xF2, // RRMODN Key 2
    0x01, 0xB4, 0x73, 0x59, 0x12, 0x26, 0x83, 0xB1, // RRMODN Key 1
    0xFC, 0x43, 0x86, 0x6E, 0x06, 0xBE, 0x1A, 0x35, // RRMODN Key 0 (LSB)
#endif
#else   // #if(_HDCP_2_2_TX_RSA3072_MODE == _OFF)
    // RX : RR mod N (Errate Key)
    0x29, 0xfb, 0x08, 0xc9, 0xc4, 0xbe, 0x23, 0x08, // RRMODN Key 15 (MSB)
    0x2a, 0x2d, 0x4f, 0x79, 0xc3, 0x09, 0x91, 0x4e, // RRMODN Key 14
    0xca, 0x31, 0xfd, 0x19, 0x06, 0x39, 0x52, 0xf7, // RRMODN Key 13
    0xeb, 0x1e, 0x5c, 0xd0, 0x49, 0xb1, 0x0b, 0x15, // RRMODN Key 12
    0xb5, 0x5e, 0x61, 0x52, 0xad, 0x67, 0x49, 0x07, // RRMODN Key 11
    0xb8, 0xc6, 0xe0, 0x5d, 0xcd, 0x17, 0xc6, 0x35, // RRMODN Key 10
    0x6a, 0x74, 0x78, 0xa3, 0xdf, 0xba, 0x1d, 0xdf, // RRMODN Key 9
    0x5f, 0x26, 0x3f, 0x1a, 0xa9, 0x20, 0xdc, 0xff, // RRMODN Key 8
    0x71, 0xa6, 0xe5, 0xc0, 0x3c, 0x00, 0xb9, 0x44, // RRMODN Key 7
    0x5f, 0xd5, 0x06, 0x88, 0x18, 0x4f, 0x30, 0x92, // RRMODN Key 6
    0xe3, 0x1a, 0xe7, 0x58, 0xe6, 0xe6, 0xa2, 0x1a, // RRMODN Key 5
    0x53, 0xcb, 0x0a, 0xe9, 0xf2, 0x85, 0x56, 0xfc, // RRMODN Key 4
    0x5e, 0xc1, 0x13, 0x22, 0x70, 0x04, 0x78, 0x48, // RRMODN Key 3
    0x4d, 0x6b, 0x07, 0xb3, 0x95, 0xa7, 0x13, 0x79, // RRMODN Key 2
    0x3d, 0x34, 0x15, 0x60, 0x81, 0xd7, 0xbf, 0xa2, // RRMODN Key 1
    0xa3, 0x28, 0x4e, 0x66, 0xab, 0xda, 0x75, 0x59, // RRMODN Key 0  (LSB)
#endif
#else   // #if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _OFF)
    // RX : RR mod N (Customers Key)
    0x10, 0x50, 0x77, 0x76, 0x93, 0x0D, 0x25, 0x83, // RROMDN Key 15 (MSB)
    0x61, 0x21, 0x8E, 0xE6, 0x68, 0x40, 0x4F, 0x81, // RROMDN Key 14
    0xC5, 0x99, 0x32, 0x6D, 0x86, 0x91, 0x03, 0x0D, // RROMDN Key 13
    0x16, 0x73, 0x6B, 0xDF, 0x6B, 0x19, 0xE9, 0x2F, // RROMDN Key 12
    0xBE, 0x50, 0x76, 0xC8, 0x63, 0x1F, 0x29, 0x6C, // RROMDN Key 11
    0x68, 0xAC, 0xB7, 0x2A, 0x1F, 0x44, 0xCF, 0x43, // RROMDN Key 10
    0x3D, 0xAB, 0x36, 0xC2, 0xFD, 0xD3, 0xB1, 0xCF, // RROMDN Key 9
    0xD7, 0x2D, 0x5B, 0x88, 0x35, 0x2B, 0x02, 0x48, // RROMDN Key 8
    0x12, 0x57, 0x1E, 0x1A, 0x30, 0xC9, 0x7D, 0x39, // RROMDN Key 7
    0xAB, 0x0E, 0x3B, 0x76, 0x2E, 0x28, 0x9A, 0x37, // RROMDN Key 6
    0x7A, 0x33, 0x87, 0xFF, 0x65, 0x86, 0x24, 0x4A, // RROMDN Key 5
    0xC1, 0x6D, 0xCB, 0x01, 0xD9, 0x80, 0xD9, 0xFB, // RROMDN Key 4
    0x3D, 0x00, 0xE2, 0xCC, 0xA6, 0xAB, 0x0E, 0x92, // RROMDN Key 3
    0xE5, 0x6C, 0x52, 0x40, 0xDB, 0x68, 0x14, 0xB4, // RROMDN Key 2
    0xC5, 0x14, 0x84, 0x58, 0xFB, 0x1E, 0x68, 0x30, // RROMDN Key 1
    0x71, 0x36, 0xA6, 0x80, 0x3D, 0xD7, 0xFF, 0xD4, // RROMDN Key 0  (LSB)
#endif
};

BYTE code tHDCP2_LCKey[] =
{
#if(_HDCP_2_2_ERRATA_TEST_SUPPORT == _ON)
    0x93, 0xce, 0x5a, 0x56, 0xa0, 0xa1, 0xf4, 0xf7, // LC Key 1 (MSB)
    0x3c, 0x65, 0x8a, 0x1b, 0xd2, 0xae, 0xf0, 0xf7, // LC Key 0 (LSB)
#else
    0xB5, 0xD8, 0xE9, 0xAB, 0x5F, 0x8A, 0xFE, 0xCA, // LC Key 1 (MSB)
    0x38, 0x55, 0xB1, 0xA5, 0x1E, 0xC9, 0xBC, 0x0F, // LC Key 0 (LSB)
#endif
};
#endif

